home *** CD-ROM | disk | FTP | other *** search
Wrap
LineCount 1.7 by Frédéric RINALDI DESCRIPTION LineCount is a XFCN allowing to know the real number of lines of a field, including all wrapped lines. SYNTAXE LineCount ("<field descriptor>") PARAMETERS field descriptor can be any valid descriptor (name, number or ID), and must be enclosed in quotes (like "cd fld 1" or "bg fld id 52") Using "!", "?" and "=" as parameter will return an online help (resp. copyright, syntax and output). USING The XFCN returns the number of lines of the field. ERRORS If an error occurs, it can return : "Error : Bad field descriptor" "Error : No such Font" "Error : Bad text style[s]" HISTORY 1.7 08/26/91 • Fixed memory management bug 1.6 08/16/91 • Fixed bug and added SuperCard compatibility • Change field rect calculation mode for HC 1.2. 1.5 07/10/91 • Fixed bug and added SuperCard compatibility 1.4 06/13/91 • Updated to match multi-styled fields of HC 2.0 -------------------------------------------------------------------- All externals included in this stack are FreeWare and may be used in non-commercial software provided the following notice is visibly present : LineCount XFCN, © Frederic Rinaldi, 1989…1993. Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses: AppleLink: RINALDI1 CalvaCom : FR10 Compuserve : 71170,2111 Internet : RINALDI1@APPLELINK@APPLE.COM